css: Fix memleak
authorBenjamin Otte <otte@redhat.com>
Sat, 14 Jan 2012 23:11:42 +0000 (00:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 16 Jan 2012 17:34:41 +0000 (18:34 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=667910

gtk/gtkcssshorthandproperty.c

index c47b5305a186081cecebc25110c1684cd955651c..303376e98625bf1b17cc4bbfb77ac09e97ab84d3 100644 (file)
@@ -144,7 +144,7 @@ gtk_css_shorthand_property_parse_value (GtkStyleProperty *property,
     }
 
   g_value_init (value, G_TYPE_VALUE_ARRAY);
-  g_value_set_boxed (value, array);
+  g_value_take_boxed (value, array);
   return TRUE;
 }